<%@page import="fileDAO.FileDto"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>

<style type="text/css">
	#main_div{ width:1050px; height:600px; margin:0 auto; margin-top:50px;}
	table {float: left;}
	#inclu{width:1050px; height:380px;margin: 0 auto;}
	#imgdiv{ width:1050px; height:100px; margin: 0 auto;}
	input[type=button]{width:100px; height: 30px; float:right;}
</style>

	<meta http-equiv="Content-Script-Type" content="text/javascript" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<script src="js/common_group.js" language="Javascript" type="text/javascript"></script>
	
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {
	$('.categorylist').click(function(){
		var value = $(this).attr("value");
		var name = $(this).attr("name");
		location.assign("catetorylist.uload?value="+value+"&name="+name);
	});
	$('input[type=button]').click(function(){
		location.assign("file_input.uload");
	});
});
</script>


</head>
	
<body class="main">
	<jsp:include page="../top/tmalltop.jsp"></jsp:include>
	

<!-- siteAlign S -->
<div id="siteAlign">

	<hr />

	<div id="quickArea">


		<!-- sideMenu S -->
		<div id="sideMenu">

			<ul>
				<li><img src="images/smenu/brand.gif" alt="브랜드 티셔츠" /></li>
				<li><img src="images/smenu/line.gif" /></a></li>
				<li><a href="sangse.uload?product_classify=<%= request.getAttribute("product_classify") %>&product_sclassify=BAN"><img src="images/smenu/ban_off.gif" alt="반팔" /></a></li>
				<li><a href="sangse.uload?product_classify=<%= request.getAttribute("product_classify") %>&product_sclassify=GIN"><img src="images/smenu/gin_off.gif" alt="긴팔" /></a></li>
				<li><a href="sangse.uload?product_classify=<%= request.getAttribute("product_classify") %>&product_sclassify=HOOD"><img src="images/smenu/hood_off.gif" alt="후드" /></a></li>
			</ul>

		</div>
		<!-- sideMenu E -->
		<script type="text/javascript">imgRollover('sideMenu');</script>

		<hr />

		<!-- contentArea S -->
		<div id="contentArea">

			<!-- location S -->
			<div id="location"><a href="/">HOME</a> > <a href="/">브랜드 티셔츠</a> > <b>후드</b></div>
			<!-- location E -->

			<hr />

			<!-- content S -->
			<div id="content" class="CTdef">

				<!-- pageTitle S -->
				<div id="pageTitle">

					<h2><img src="images/title/gongji.gif" alt="공지사항" /></h2>

				</div>

			<!-- bbs default write S -->
			<!--<fieldset class="box">-->
					<c:forEach var="list" items="${list }" >
					<table>
						<tr>
							<td><img src="file_save/${list.getMainimg_name() }" width="160px" height="160px" style="margin-left: 20px; margin-top: 10px;" 
							class="categorylist" value="${list.getProduct_code()}" name="${list.getProduct_classify() }"></td>
						</tr>
						<tr >
							<td align="center">${list.getProduct_name() } <br> ${list.getProduct_price() } 원</td>
						</tr>
					</table>
					</c:forEach>
				
			<!--</fieldset>-->


			<!-- bbsbtn s -->
			<div class="bb">

			</div>
			<!-- bbs footer E -->


			</div>
			<!-- content E -->

		</div>
		<!-- contentArea E -->




		<!-- slide_top S -->
		<div id="slide_top">

			<script type="text/javascript">imgRollover('slide_top');</script>

		</div>
		<!-- slide_top E -->

	</div>
	<!-- quickArea E -->

</div>
<!-- # siteAlign S -->



<hr />
<!-- # footer S -->
<div id="footer">

	<div class="fooimg">

		<img src="images/common/logo_bottom1.gif" class="logo" alt="버라이어티 쿠킹 클래스 Amy Cooking"/>

		<ul>
			<li><a href="#"><img src="images/common/bo_text01.gif" alt="회사소개"/></a></li>
			<li><a href="#"><img src="images/common/bo_text02.gif" alt="마케팅 제휴"/></a></li>
			<li><a href="#"><img src="images/common/bo_text03.gif" alt="이용약관"/></a></li>
			<li><a href="#"><img src="images/common/bo_text04.gif" alt="개인정보취급방침"/></a></li>
		</ul>


		<div class="copy">
			<p>
				<img src="images/common/add_011.gif" alt="주소 서울시 논현동 206-17번지 정글빌딩 7층 (주)션커뮤니케이션즈   Tel 1599-7719  Fax 02-6008-6149  제휴&문의 amy@seancom.co.kr"/><br />
				<img src="images/common/add_021.gif" alt="개인정보관리 책임자 권미애  사업자 등록번호 000-00-00000  통신판매업 신고번호 제0000-서울강남-00000호  대표자 배주태"/><br />
				<img src="images/common/add_031.gif" alt="copyright(c) amycooking all rights reserved"/>
			</p>
		</div>


	</div>



</div>
<!-- # footer E -->

<!-- -------------------------------forEach 문 END------------------------------------------ -->
<input type="button" value="상품등록"/>
</div>
<div id="imgdiv">
	<img src="images/bottom.png">
</div>
</body>
</html>